Skip to main content

PWYW

PWYW (Pay What You Want) is a new template that shows 4 plans that the user can choose one of – similar to how it works on the Webflow pages.

KeyNotes
typepwyw
stepIdUnique step id
titleThe step title
subtitleThe step subtitle
useHTMLThis allows you to add inline HTML to the title, subtitle of the step to give it a font-kalam or add a break to it </br>
<span class='font-kalam' style='color:#FFA033;'>choose the amount</span> you pay. Here for example, this text will start on a new font and will be in font kalam in the color FFA033. In case like that you must set useHTML to true.
backgroundColor
textColorThe main textColor on the page
choicesAn array for the choices that the user should shows from.
"choices": [
        {
            "name": "shape-subs-quarterly-intro-1-thirtynine",
            "value": "shape-subs-quarterly-intro-1-thirtynine"
        },
        {
            "name": "shape-subs-quarterly-intro-5-thirtynine",
            "value": "shape-subs-quarterly-intro-5-thirtynine"
        },
        {
            "name": "shape-subs-quarterly-intro-10-thirtynine",
            "value": "shape-subs-quarterly-intro-10-thirtynine"
        },
        {
            "name": "shape-subs-quarterly-intro-16-thirtynine",
            "value": "shape-subs-quarterly-intro-16-thirtynine",
            "mostPopularText": "MOST POPULAR"
        }
    ] NOTE: The name of each choice must be the plan codes on the page.
mostPopularText here is the text that should be on the most popular choice (see screenshot below)
choiceBackgroundColorThe background color of the plans
choiceTextColorThe text color of the plans
selectedChoiceBorderColorThe selected plan’s border color
mostPopularChoiceColorThe mostPopularText background’s color.
mostPopularTextColorThe mostPopularTexttext color.
ctaTextThe text of the main button
ctaColorThe text color of the main button
ctaBackgroundColorThe background color of the main button
ctaHoverBackgroundColorThe background of the main button on hovering.
backButtonColorThe text color of the back button
backButtonTextThe text of the back button
backButtonBackgroundColorThe background color of the back button

Example:

{
"type": "pwyw",
"stepId": "step_54",
"backgroundColor": "#FFF4EE",
"textColor": "#251C93",
"title": "We don’t want anything to get in the way of you discovering if Shape is a good fit for you. So we’re letting you <span class='font-kalam' style='color:#FFA033;'>choose the amount</span> you pay.",
"subtitle": "It costs us $17 to provide each 7-day trial. Choose the amount that feels best to you.",
"useHTML": true,
"ctaText": "Continue",
"ctaColor": "#FFF",
"ctaBackgroundColor": "#3425B8",
"ctaHoverBackgroundColor": "#2A1E93",
"backButtonColor": "#FFA133",
"backButtonBackgroundColor": "#FFF",
"backButtonText": "Back",
"choiceBackgroundColor": "#FFF",
"choiceTextColor": "#042A90",
"selectedChoiceBorderColor": "#FFA133",
"mostPopularChoiceColor": "#FFA133",
"mostPopularTextColor": "#FFF",
"choices": [
{
"name": "shape-subs-quarterly-intro-1-thirtynine",
"value": "shape-subs-quarterly-intro-1-thirtynine"
},
{
"name": "shape-subs-quarterly-intro-5-thirtynine",
"value": "shape-subs-quarterly-intro-5-thirtynine"
},
{
"name": "shape-subs-quarterly-intro-10-thirtynine",
"value": "shape-subs-quarterly-intro-10-thirtynine"
},
{
"name": "shape-subs-quarterly-intro-16-thirtynine",
"value": "shape-subs-quarterly-intro-16-thirtynine",
"mostPopularText": "MOST POPULAR"
}
]
}